package com.itany.corejava.code07_面向对象.封装;

/**
 * @author: 石小俊
 * @date: 2023年03月07日 16:59
 * @version: 1.0
 */
public class Card {

    private String color;
    private String num;

    public Card(String color, String num) {
        this.color = color;
        this.num = num;
    }

    public String getColor(){
        return color;
    }

    public void setColor(String color){
        this.color = color;
    }

    public String getNum(){
        return num;
    }

    public void setNum(String num){
        this.num = num;
    }
}
